<?php
/**
 * Created by PhpStorm.
 * User: admin
 * Date: 2019/1/23
 * Time: 9:51
 */

namespace App\Modules\BackCost\Services;



use App\Modules\BackCost\Models\HbGzh;
use App\Modules\BackCost\Models\HbMonthStats;

class HbMonthStatsServices
{
    public static function getByChannelMonth($distribution_channel_id,$month){
        return HbMonthStats::getByChannelMonth($distribution_channel_id,$month);
    }

    public static function getOneByAppidMonth($appid,$month) {
        return HbMonthStats::getOneByAppidMonth($appid,$month);
    }

    public static function getMonthData($params,$is_all=false) {
        return HbMonthStats::getMonthData($params,$is_all);
    }

    public static function getAccountsSum($params,$is_all=false) {
        return HbMonthStats::getAccountsSum($params,$is_all);
    }
}